package cn.sharp.bbs.entity.DO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ReportDto {
    private Long id;

    private Long sUserId;

    private String sUserName;

    private String sUserAvatar;

    private Long hUserId;

    private String hUserName;

    private Long targetID;

    private String targetDetail;

    private Integer type;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    private Integer state;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ptime;

    private String remarks;

    private List<ReportReason> reportReasonList;
}